Skip to content

docs(id): record relay and proxy protocol design (#5813) - #7653

Merged
dezren39 merged 4 commits into
mainfrom
queue/12798-5813-relay-proxy
Nov 10, 2026
Merged

dezren39 merged 4 commits into
mainfrom
queue/12798-5813-relay-proxy

Conversation

@dezren39

@dezren39 dezren39 commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Summary

doc/2026-11-08T11-08-53Z_design_id5813_relay_proxy_protocol/
└── 2026-11-08T11-08-53Z_design_id5813_relay_proxy_protocol.md
planning/architecture/README.md  # index

Closes #5813

Evidence

  • Before: id: design: relay & proxy standard protocol (from #5674) #5813 was open without a decision-record PR.
    After: the dated record covers the requested roles, multi-relay behavior, delivery/retention, quotas, scaling, alternatives, and invariants.
  • git diff --cached --check passed; an isolated Python check confirmed the architecture-index link resolves.
  • Docs-only/class-0 per .github/ci-policy.md; no code build/test suite applies.

Merge Danger

Door: Two-way

A later dated design record can supersede this decision; the PR changes documentation only.

Blast Radius: Documentation


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 11:13
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-10T19:52:22.701855Z
We couldn’t complete this review. Comment @codex review to try again.
c48a180 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 44 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9ce9b448-de35-43c3-b99b-0d6a8f103cba
Commits

Reviewing files that changed from the base of the PR and between 9013286 and c48a180.

Files selected for processing: 4

  • doc/2026-11-08T11-08-53Z_design_id5813_relay_proxy_protocol/2026-11-08T11-08-53Z_design_id5813_relay_proxy_protocol.md
  • doc/2026-11-08T11-08-53Z_design_id5813_relay_proxy_protocol/2026-11-09T00-07-24Z_design_id5813_relay_proxy_protocol_transport_boundary_clarification.md
  • doc/2026-11-08T11-08-53Z_design_id5813_relay_proxy_protocol/2026-11-10T06-54-33Z_design_id5813_relay_proxy_protocol_sibling_alignment.md
  • planning/architecture/README.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

agent-note:v1 — duplicate-pair disposition. A second design record for #5813 was opened in parallel as PR #7972 (doc/2026-11-09_design_id5813.md) before this PR was found to be the canonical artifact. Diff of #7972 against this PR:

  • Same decisions, no unique content to salvage. docs(id): relay & proxy standard protocol design record (#5813) #7972 chooses ID-aware relay (envelope-only routing, membership-before-forward, hop records, E2E-opaque payloads), publish/lookup with signed relay sets, multi-relay races with message-ID dedupe, at-most-once live forwarding, bounded per-sender/per-recipient queues with pressure signalling, and stateless-forwarding/sharded-custody scaling. This PR decides all of the same ground (lookup/home separation, independent expiring leases, hop-local receipts, zero payload retention, byte-credit backpressure, stateful-at-edge/stateless-across-relays) with more precise lease and flow-control mechanics.
  • One materially different alternative, not a defect in either: docs(id): relay & proxy standard protocol design record (#5813) #7972 proposes an opt-in bounded store-and-forward custody mode (per-recipient TTL + byte quota, receipts proving custody only). This PR rules that out explicitly ("payload retention is always zero", no durable retention). Neither is wrong; the canonical record's choice is the stronger one against id: design: ID messaging/relay protocol v1 #2036's no-central-durability stance, so nothing is carried over.
  • docs(id): relay & proxy standard protocol design record (#5813) #7972 is being closed as duplicate; nothing else from it needs merge.

Canonical: this PR. The #7972 branch is left intact (not deleted by hand).

@dezren39
dezren39 force-pushed the queue/12798-5813-relay-proxy branch from edd2c6d to c48a180 Compare November 10, 2026 19:52
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit 0438c1a into main Nov 10, 2026
4 of 9 checks passed
@dezren39
dezren39 deleted the queue/12798-5813-relay-proxy branch November 10, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id: design: relay & proxy standard protocol (from #5674)

1 participant